﻿//确定
var doAddHelpClass = function (s, e) {
    var helpClassKeyid = tlList.GetFocusedNodeKey();
    parent.lblHelpCategoryKeyid.SetText(helpClassKeyid);
    tlList.GetNodeValues(helpClassKeyid, 'HelpCategoryName', function (value) {
        $.messager.confirm('确认提示', '确定你选择的是' + value + '帮助类别吗？', function (result) {
            if (result) {

                parent.txtHelpCategoryName.SetText(value);
                parent.Shadowbox.close();
                $.messager.show({
                    title: '信息提示',
                    msg: '选择成功！',
                    showType: 'slide'
                });
            }
        });
    });
}

//关闭窗口

var doClose = function (s, e) {
    parent.Shadowbox.close();

}